package com.group525.cloudef.entity.user;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("u_infectious")
@Component
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="infectious对象", description="传染病信息")
public class Uinfectious implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty(value = "序号",hidden = true)
    private Integer id;
    @ApiModelProperty(value = "传染病名",required = true)
    private String disease_name;
    @ApiModelProperty(value = "患者id",required = true)
    private Long user_id;
    @ApiModelProperty(value = "医生id",required = true)
    private Long doctor_id;
    @ApiModelProperty(value = "病例分类",required = true)
    private String classify;
    @ApiModelProperty(value = "发病时间",required = true)
    private Date onset;
    @ApiModelProperty(value = "诊断时间",required = true)
    private Date diagnose_time;
    @ApiModelProperty(value = "报告时间",required = true)
    private Date report_time;
    @ApiModelProperty(value = "备注")
    private String info;
    @ApiModelProperty(value = "状态")
    private Integer status;
}
